package com.farmer.service;

import com.farmer.pojo.Information;
import com.baomidou.mybatisplus.extension.service.IService;
import com.farmer.utils.Result;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author 86183
* @description 针对表【information(扶贫资讯表)】的数据库操作Service
* @createDate 2024-04-25 20:31:35
*/
public interface InformationService extends IService<Information> {



    Result add(Information information);

    Result delete(Integer id);

    Result update(Information information);

    Result getById(Integer id);

    Result getAll();

    /*
    * 根据标题模糊查询*/
    Result getByTitleLike(String title);

    Result show();

    Result deleteBatch(List<Integer> ids);

//    Result imgInsert(MultipartFile file);
   Result page(Integer pageNum, Integer pageSize);
}
